#pragma once
#include "PIDcontroller.h"
#include "stepmotor.h"
typedef struct MotorControl_t {
    MotorType_t Motor;
    PIDInstance Motor_pid;
  } MotorControl_t;

extern MotorControl_t Motor_horiz;
extern MotorControl_t Motor_Verti;
void MotorSpeedInit(float kp,float ki,float kd);